package com.cyan.app.workflow.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by DXW on 2016-04-02.
 */
public class ManpahdTLabBean extends BaseBean {
    private List<ManpahdTBean> Result;

    public List<ManpahdTBean> getResult() {
        return Result;
    }

    public void setData(List<ManpahdTBean> data) {
        Result = data;
    }

    public class ManpahdTBean implements Serializable {

        private String Itnbr;
        private Double AppNum;
        private String AppUser;
        private String AppUserName;
        private Double Onhand1;
        private String Unmsr1;
        private String Unmsr2;
        private String GrpName;
        private String PisDate;
        private List<ManpahdBean> Manpahds;

        public String getPisDate() {
            return PisDate;
        }

        public void setPisDate(String pisDate) {
            PisDate = pisDate;
        }

        public String getGrpName() {
            return GrpName;
        }

        public void setGrpName(String grpName) {
            GrpName = grpName;
        }

        public String getItnbr() {
            return Itnbr;
        }

        public void setItnbr(String itnbr) {
            Itnbr = itnbr;
        }

        public Double getAppNum() {
            return AppNum;
        }

        public void setAppNum(Double appNum) {
            AppNum = appNum;
        }

        public String getAppUser() {
            return AppUser;
        }

        public void setAppUser(String appUser) {
            AppUser = appUser;
        }

        public String getAppUserName() {
            return AppUserName;
        }

        public void setAppUserName(String appUserName) {
            AppUserName = appUserName;
        }

        public Double getOnhand1() {
            return Onhand1;
        }

        public void setOnhand1(Double onhand1) {
            Onhand1 = onhand1;
        }
        public String getUnmsr1() {
            return Unmsr1;
        }

        public void setUnmsr1(String unmsr1) {
            Unmsr1 = unmsr1;
        }

        public String getUnmsr2() {
            return Unmsr2;
        }

        public void setUnmsr2(String unmsr2) {
            Unmsr2 = unmsr2;
        }
        public List<ManpahdBean> getManpahds() {
            return Manpahds;
        }

        public void setManpahds(List<ManpahdBean> manpahds) {
            Manpahds = manpahds;
        }

        public ManpahdBean getManpahdBean(String manno) {
            for (ManpahdBean c : Manpahds) {
                if (c.getManno().equals(manno))
                    return c;
            }
            return null;
        }
    }
    public class ManpahdBean implements Serializable{
        private String Appno;
        private String Manno;
        private String ProssCode;
        private String Itnbr;
        private Double AppNum;
        private Boolean Selected;

        public String getAppno() {
            return Appno;
        }

        public void setAppno(String appno) {
            Appno = appno;
        }
        public String getManno() {
            return Manno;
        }

        public void setManno(String manno) {
            Manno = manno;
        }

        public String getProssCode() {
            return ProssCode;
        }

        public void setProssCode(String prossCode) {
            ProssCode = prossCode;
        }

        public String getItnbr() {
            return Itnbr;
        }

        public void setItnbr(String itnbr) {
            Itnbr = itnbr;
        }

        public Double getAppNum() {
            return AppNum;
        }

        public void setAppNum(Double appNum) {
            AppNum = appNum;
        }
        public Boolean getSelected() {
            if(Selected==null)
                Selected = true;
            return Selected;
        }

        public void setSelected(Boolean selected) {
            Selected = selected;
        }
    }
}
